package com.manager.car.util;

import java.util.List;


public class PageModel<T> {

	private int code = 0;  //状态码，成功就返回0
	private String msg; //返回消息，可以为空
	private int count; //满足条件的总数据数
	private List<T> data; //数据集合
	
	
	public PageModel(int code, String msg, int count, List<T> data) {
		super();
		this.code = code;
		this.msg = msg;
		this.count = count;
		this.data = data;
	}
	public PageModel() {
		super();
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
}
